package com.example.safeassistan.train.model;

import java.util.List;

public class CloudCategory {


    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : [{"id":"1393126438004850690","createBy":"admin","createTime":"2021-05-14 16:50:00","name":"版块1","isOpen":"0","isFixed":"0","sort":1,"sectionDescribe":null,"companyId":null}]
     * timestamp : 1623378328484
     */

    private Boolean success;
    private String message;
    private Integer code;
    private Long timestamp;
    private List<ResultDTO> result;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
        /**
         * id : 1393126438004850690
         * createBy : admin
         * createTime : 2021-05-14 16:50:00
         * name : 版块1
         * isOpen : 0
         * isFixed : 0
         * sort : 1
         * sectionDescribe : null
         * companyId : null
         */

        private String id;
        private String createBy;
        private String createTime;
        private String name;
        private String isOpen;
        private String isFixed;
        private Integer sort;
        private Object sectionDescribe;
        private Object companyId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateBy() {
            return createBy;
        }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIsOpen() {
            return isOpen;
        }

        public void setIsOpen(String isOpen) {
            this.isOpen = isOpen;
        }

        public String getIsFixed() {
            return isFixed;
        }

        public void setIsFixed(String isFixed) {
            this.isFixed = isFixed;
        }

        public Integer getSort() {
            return sort;
        }

        public void setSort(Integer sort) {
            this.sort = sort;
        }

        public Object getSectionDescribe() {
            return sectionDescribe;
        }

        public void setSectionDescribe(Object sectionDescribe) {
            this.sectionDescribe = sectionDescribe;
        }

        public Object getCompanyId() {
            return companyId;
        }

        public void setCompanyId(Object companyId) {
            this.companyId = companyId;
        }
    }
}
